package PipelineProcessor

import org.scalatest.flatspec.AnyFlatSpec
import chiseltest._
import chisel3._

class HexTest extends AnyFlatSpec with ChiselScalatestTester {
  behavior of "mycpu"
  it should "work through hex" in {
    test(new Top) { c =>
      while (!c.io.exit.peek().litToBoolean){
        print("------------->>>>>>>c.clock.step to Start ...\n")
        c.clock.step(1)
        print("------------->>>>>>>c.clock.step Finished !!!\n")
      }
      c.io.gp.expect(1.U)
    }
  }
}


